package com.shigen.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shigen.demo.bean.Result;
import com.shigen.demo.entity.req.ProjectReq;
import com.shigen.demo.entity.vo.ProjectVo;
import javax.servlet.http.HttpServletResponse;

public interface IProjectService {

  Result getProject(String id);

  int createProject(ProjectReq.OpBase opBase);

  // 根据项目名或项目描述查询
  IPage<ProjectVo> getProjectList(ProjectReq.QueryItem queryItem);

  int changeProjectStatus(String id, Boolean isStop);

  void downloadDatas(String id, HttpServletResponse response);
}
